package com.dashboard;

import com.dashboard.common.utils.DateUtils;
import com.dashboard.entity.WarningJob;
import com.dashboard.sync.service.HotListTaskService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.Date;


/**
 * @author xuxiao
 */
@SpringBootApplication
@EnableAsync
@MapperScan(basePackages = {"com.dashboard.mapper"})
public class DashboardApplicationRun {


    public static void main(String[] args) throws Exception{
        ConfigurableApplicationContext run = SpringApplication.run(DashboardApplicationRun.class, args);
        int beanDefinitionCount = run.getBeanDefinitionCount();
        System.out.println("容器加载完毕,共加载了实例："+beanDefinitionCount);
    }




}
